


//
//  KnowTableViewCell.m
//  1243
//
//  Created by apple on 16/7/7.
//  Copyright © 2016年 1243. All rights reserved.
//

#import "KnowTableViewCell.h"

@implementation KnowTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.knowInforLB = [[UILabel alloc]initWithFrame:CGRectMake(10, 0, 100, 40)];
        self.knowInforLB.text = @"揭晓信息";
        
        UILabel *oneLine = [[UILabel alloc]initWithFrame:CGRectMake(0, 40, WIDTH, 1)];
        oneLine.backgroundColor = [UIColor lightGrayColor];
        
        self.knowNumber = [[UILabel alloc]initWithFrame:CGRectMake(10, 41, WIDTH - 20, 30)];
        self.knowNumber.text = @"揭晓号码:";
        
        self.knowTime = [[UILabel alloc]initWithFrame:CGRectMake(10, 71, WIDTH -20, 30)];
        self.knowTime.text = @"揭晓时间:";
        
        self.getUser = [[UILabel alloc]initWithFrame:CGRectMake(10, 101, WIDTH - 20, 30)];
        self.getUser.text = @"得宝用户:";
        
        
        [self.contentView addSubview:self.knowInforLB];
        [self.contentView addSubview:oneLine];
        [self.contentView addSubview:self.knowNumber];
        [self.contentView addSubview:self.knowTime];
        [self.contentView addSubview:self.getUser];
        
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
